﻿using System.ComponentModel.DataAnnotations;
using System.Data.Linq.Mapping;

namespace ConsoleListAndEnumerable
{
    [Table(Name = "MyStudent")]
    public class MyStudent
    {
        [Key]
        public int Id{ get; set; }
        [Column]
        public string Name{ get; set; }
        [Column]
        public int Age{ get; set; }
    }
}